﻿@using Bootstrap
@{
    Model.Classes.Add("nav");
    Model.Classes.Add("pull-right");
    // Model is Model.Menu from the layout (Layout.Menu)
    var tag = Tag(Model, "ul");
    
}

@tag.StartElement
    @* see MenuItem shape template *@
    @DisplayChildren(Model)
@tag.EndElement
